﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Manager.Master" AutoEventWireup="true"
    CodeBehind="MenuManager.aspx.cs" Inherits="Bilyteam_Website.Admin.MenuManager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link rel="stylesheet" href="CSS/style.css" type="text/css" />
    <section>
    <div class="provices">
        <p>
            <label>Menu</label>
            <asp:TextBox runat="server" ID="txtmenu"></asp:TextBox>
        </p>
        <p>
            <asp:Button runat="server" ID="btnAddMenu" Text="Add"/>
        </p>
    </div>
        
        <div class="dtlmenu">
            
            <asp:DataList ID="dtlmenus" runat="server">
                 <HeaderTemplate>
                                    <table class="viewTables">
                                        <tr class="head">
                                            <th style="width: auto">
                                                Edit</th>
                                            <th style="width: auto">
                                                Delete</th>
                                            <th style="width: auto">
                                                ID</th>
                                            <th style="width: 200px">
                                                Name</th>
                                            
                                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                         <td>
                             <asp:LinkButton ID="lbtedit" runat="server" Text="Edit"></asp:LinkButton>
                         </td>
                    <td>
                        <asp:LinkButton ID="lbtdelete" runat="server" Text="Delete"></asp:LinkButton>
                    </td>
                    <td><asp:Label ID="lblID" runat="server" Text='<%# Eval("MenuID") %>'></asp:Label></td>
                     <td>
                        <%#Eval("MenuName")%>
                    </td>
                    
                    </tr>
                   
                </ItemTemplate>
                 <FooterTemplate>
                </table>
            </FooterTemplate>
            </asp:DataList>
            
        </div>
    </section>
</asp:Content>
